package com.ldatum.crm.dao;

import java.sql.SQLException;
import java.text.ParseException;
import java.util.List;

import com.ldatum.crm.domain.Announcement;

public interface AnnouncementDao {

	List<Announcement> findAll() throws SQLException, Exception;

	Announcement findById(int id) throws SQLException;

	List<Announcement> list();

	int save(Announcement a);

	List<Announcement> findTop10() throws SQLException, ParseException;

}
